namespace QMVnSoft.ReportForms
{
    using QMVnSoft;
    using QMVnSoft.Controls;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class FormVCT00NExpress : FormControl
    {
        private BtnControl btnClose;
        private BtnControl btnOk;
        private IContainer components;
        private object ii_TTien_Nt1;
        private object ii_TTien_Nt2;
        private object is_Desc_EN;
        private object is_Dien_Giai;
        private object is_Ma_Bp;
        private object is_Ma_Ct_List;
        private object is_Ma_Hd;
        private object is_Ma_Km;
        private object is_Ma_Nx;
        private object is_Ma_Sp;
        private object is_Ong_Ba;
        private object is_So_Ct1;
        private object is_So_Ct2;
        private object is_Ten_Bp;
        private object is_Ten_Hd;
        private object is_Ten_Km;
        private object is_Ten_Nx;
        private object is_Ten_Sp;
        private object is_Ten_Tk_Co;
        private object is_Ten_Tk_No;
        private object is_Tk_Co;
        private object is_Tk_No;
        private LabelControl labelControl12;
        private LabelControl labelControl5;
        private LabelControl lblDesc_EN;
        private LabelControl lblDien_Giai;
        private LabelControl lblMa_Bp;
        private LabelControl lblMa_Ct;
        private LabelControl lblMa_Hd;
        private LabelControl lblMa_Km;
        private LabelControl lblMa_Nx;
        private LabelControl lblMa_Sp;
        private LabelControl lblOng_Ba;
        private LabelControl lblSo_Ct1;
        private LabelControl lblSo_Ct2;
        private LabelControl lblTk_Co;
        private LabelControl lblTk_No;
        private LabelControl lblTTien_Nt1;
        private LabelControl lblTTien_Nt2;
        private TextControl txtDesc_EN;
        private TextControl txtDien_Giai;
        private TextSearch txtMa_Bp;
        private TextControl txtMa_Ct_List;
        private TextSearch txtMa_Hd;
        private TextSearch txtMa_Km;
        private TextSearch txtMa_Nx;
        private TextSearch txtMa_Sp;
        private TextControl txtOng_Ba;
        private TextControl txtSo_Ct1;
        private TextControl txtSo_Ct2;
        private TextControl txtTen_Bp;
        private TextControl txtTen_Hd;
        private TextControl txtTen_Km;
        private TextControl txtTen_Nx;
        private TextControl txtTen_Sp;
        private TextControl txtTen_Tk_Co;
        private TextControl txtTen_Tk_No;
        private TextSearch txtTk_Co;
        private TextSearch txtTk_No;
        private TextNumeric txtTTien_Nt1;
        private TextNumeric txtTTien_Nt2;

        public FormVCT00NExpress()
        {
            this.InitializeComponent();
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            base.Close();
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            this.UpdateExpresses();
            base.Close();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            //ComponentResourceManager manager = new ComponentResourceManager(typeof(FormVCT00NExpress));
            this.lblSo_Ct1 = new LabelControl();
            this.txtSo_Ct1 = new TextControl();
            this.lblSo_Ct2 = new LabelControl();
            this.txtSo_Ct2 = new TextControl();
            this.txtTTien_Nt1 = new TextNumeric();
            this.txtTTien_Nt2 = new TextNumeric();
            this.lblTTien_Nt1 = new LabelControl();
            this.lblTTien_Nt2 = new LabelControl();
            this.labelControl5 = new LabelControl();
            this.txtTen_Hd = new TextControl();
            this.txtMa_Hd = new TextSearch();
            this.lblMa_Hd = new LabelControl();
            this.lblMa_Bp = new LabelControl();
            this.txtMa_Bp = new TextSearch();
            this.txtTen_Bp = new TextControl();
            this.lblMa_Sp = new LabelControl();
            this.txtMa_Sp = new TextSearch();
            this.txtTen_Sp = new TextControl();
            this.lblMa_Km = new LabelControl();
            this.txtMa_Km = new TextSearch();
            this.txtTen_Km = new TextControl();
            this.txtDien_Giai = new TextControl();
            this.txtDesc_EN = new TextControl();
            this.txtOng_Ba = new TextControl();
            this.lblDien_Giai = new LabelControl();
            this.lblDesc_EN = new LabelControl();
            this.lblOng_Ba = new LabelControl();
            this.labelControl12 = new LabelControl();
            this.btnClose = new BtnControl();
            this.btnOk = new BtnControl();
            this.txtMa_Ct_List = new TextControl();
            this.lblMa_Ct = new LabelControl();
            this.lblMa_Nx = new LabelControl();
            this.txtMa_Nx = new TextSearch();
            this.txtTen_Nx = new TextControl();
            this.lblTk_No = new LabelControl();
            this.txtTk_No = new TextSearch();
            this.txtTen_Tk_No = new TextControl();
            this.lblTk_Co = new LabelControl();
            this.txtTk_Co = new TextSearch();
            this.txtTen_Tk_Co = new TextControl();
            base.SuspendLayout();
            this.lblSo_Ct1.AutoSize = true;
            this.lblSo_Ct1.Font = new Font("Arial", 8.25f);
            this.lblSo_Ct1.Location = new Point(12, 0x24);
            this.lblSo_Ct1.Name = "lblSo_Ct1";
            this.lblSo_Ct1.Size = new Size(0x52, 14);
            this.lblSo_Ct1.TabIndex = 0;
            this.lblSo_Ct1.Text = "Từ số chứng từ";
            this.txtSo_Ct1.CharacterCasing = CharacterCasing.Upper;
            this.txtSo_Ct1.CheckTextSearched = false;
            this.txtSo_Ct1.DisabledForeColor = Color.Blue;
            this.txtSo_Ct1.Font = new Font("Arial", 8.25f);
            this.txtSo_Ct1.Location = new Point(0x74, 0x21);
            this.txtSo_Ct1.MaxLength = 20;
            this.txtSo_Ct1.Name = "txtSo_Ct1";
            this.txtSo_Ct1.OldValue = null;
            this.txtSo_Ct1.Size = new Size(100, 20);
            this.txtSo_Ct1.TabIndex = 1;
            this.txtSo_Ct1.UserTextLength = AppInstance.TextControlLength.InvoiceNumber;
            this.txtSo_Ct1.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtSo_Ct1.Value = null;//manager.GetObject("txtSo_Ct1.Value");
            this.lblSo_Ct2.AutoSize = true;
            this.lblSo_Ct2.Font = new Font("Arial", 8.25f);
            this.lblSo_Ct2.Location = new Point(0x106, 0x24);
            this.lblSo_Ct2.Name = "lblSo_Ct2";
            this.lblSo_Ct2.Size = new Size(0x2a, 14);
            this.lblSo_Ct2.TabIndex = 0;
            this.lblSo_Ct2.Text = "Đến số";
            this.txtSo_Ct2.CharacterCasing = CharacterCasing.Upper;
            this.txtSo_Ct2.CheckTextSearched = false;
            this.txtSo_Ct2.DisabledForeColor = Color.Blue;
            this.txtSo_Ct2.Font = new Font("Arial", 8.25f);
            this.txtSo_Ct2.Location = new Point(310, 0x21);
            this.txtSo_Ct2.MaxLength = 20;
            this.txtSo_Ct2.Name = "txtSo_Ct2";
            this.txtSo_Ct2.OldValue = null;
            this.txtSo_Ct2.Size = new Size(100, 20);
            this.txtSo_Ct2.TabIndex = 2;
            this.txtSo_Ct2.UserTextLength = AppInstance.TextControlLength.InvoiceNumber;
            this.txtSo_Ct2.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtSo_Ct2.Value = null;//manager.GetObject("txtSo_Ct2.Value");
            this.txtTTien_Nt1.Font = new Font("Arial", 8.25f);
            this.txtTTien_Nt1.Location = new Point(0x74, 0x36);
            this.txtTTien_Nt1.Name = "txtTTien_Nt1";
            int[] bits = new int[4];
            this.txtTTien_Nt1.NumericValue = new decimal(bits);
            this.txtTTien_Nt1.OldValue = null;
            this.txtTTien_Nt1.Size = new Size(100, 20);
            this.txtTTien_Nt1.TabIndex = 3;
            this.txtTTien_Nt1.TextAlign = HorizontalAlignment.Right;
            this.txtTTien_Nt1.UserTextNumericFormat = AppInstance.TextNumericFormat.ForeignAmount;
//            this.txtTTien_Nt1.Value = null;//manager.GetObject("txtTTien_Nt1.Value");
            this.txtTTien_Nt2.Font = new Font("Arial", 8.25f);
            this.txtTTien_Nt2.Location = new Point(310, 0x36);
            this.txtTTien_Nt2.Name = "txtTTien_Nt2";
            int[] numArray2 = new int[4];
            this.txtTTien_Nt2.NumericValue = new decimal(numArray2);
            this.txtTTien_Nt2.OldValue = null;
            this.txtTTien_Nt2.Size = new Size(100, 20);
            this.txtTTien_Nt2.TabIndex = 4;
            this.txtTTien_Nt2.TextAlign = HorizontalAlignment.Right;
            this.txtTTien_Nt2.UserTextNumericFormat = AppInstance.TextNumericFormat.ForeignAmount;
//            this.txtTTien_Nt2.Value = null;//manager.GetObject("txtTTien_Nt2.Value");
            this.lblTTien_Nt1.AutoSize = true;
            this.lblTTien_Nt1.Font = new Font("Arial", 8.25f);
            this.lblTTien_Nt1.Location = new Point(12, 0x39);
            this.lblTTien_Nt1.Name = "lblTTien_Nt1";
            this.lblTTien_Nt1.Size = new Size(0x35, 14);
            this.lblTTien_Nt1.TabIndex = 0;
            this.lblTTien_Nt1.Text = "Số tiền từ";
            this.lblTTien_Nt2.AutoSize = true;
            this.lblTTien_Nt2.Font = new Font("Arial", 8.25f);
            this.lblTTien_Nt2.Location = new Point(0x106, 0x39);
            this.lblTTien_Nt2.Name = "lblTTien_Nt2";
            this.lblTTien_Nt2.Size = new Size(0x2a, 14);
            this.lblTTien_Nt2.TabIndex = 0;
            this.lblTTien_Nt2.Text = "Đến số";
            this.labelControl5.BorderStyle = BorderStyle.Fixed3D;
            this.labelControl5.Font = new Font("Arial", 8.25f);
            this.labelControl5.Location = new Point(12, 0x52);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new Size(0x21e, 2);
            this.labelControl5.TabIndex = 0;
            this.txtTen_Hd.BackColor = SystemColors.Control;
            this.txtTen_Hd.BorderStyle = BorderStyle.None;
            this.txtTen_Hd.CheckTextSearched = false;
            this.txtTen_Hd.DisabledForeColor = Color.Blue;
            this.txtTen_Hd.Enabled = false;
            this.txtTen_Hd.Font = new Font("Arial", 8.25f);
            this.txtTen_Hd.ForeColor = Color.Blue;
            this.txtTen_Hd.Location = new Point(0xde, 0x60);
            this.txtTen_Hd.Name = "txtTen_Hd";
            this.txtTen_Hd.OldValue = null;
            this.txtTen_Hd.Size = new Size(0x15c, 13);
            this.txtTen_Hd.TabIndex = 0x60;
//            this.txtTen_Hd.Value = null;//manager.GetObject("txtTen_Hd.Value");
            this.txtMa_Hd.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Hd.CheckTextSearched = false;
            this.txtMa_Hd.DisabledForeColor = Color.Empty;
            this.txtMa_Hd.EmptyIsValid = true;
            this.txtMa_Hd.FieldDisplay = "Ten_Hd";
            this.txtMa_Hd.Font = new Font("Arial", 8.25f);
            this.txtMa_Hd.Location = new Point(0x74, 0x5c);
            this.txtMa_Hd.MaxLength = 0x20;
            this.txtMa_Hd.Name = "txtMa_Hd";
            this.txtMa_Hd.OldValue = null;
            this.txtMa_Hd.Size = new Size(100, 20);
            this.txtMa_Hd.TabIndex = 5;
            this.txtMa_Hd.TableName = "DMHD";
            this.txtMa_Hd.TextDisplay = this.txtTen_Hd;
            this.txtMa_Hd.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Hd.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Hd.Value = null;//manager.GetObject("txtMa_Hd.Value");
            this.lblMa_Hd.AutoSize = true;
            this.lblMa_Hd.Font = new Font("Arial", 8.25f);
            this.lblMa_Hd.Location = new Point(12, 0x60);
            this.lblMa_Hd.Name = "lblMa_Hd";
            this.lblMa_Hd.Size = new Size(0x36, 14);
            this.lblMa_Hd.TabIndex = 0x61;
            this.lblMa_Hd.Text = "Hợp đồng";
            this.lblMa_Bp.AutoSize = true;
            this.lblMa_Bp.Font = new Font("Arial", 8.25f);
            this.lblMa_Bp.Location = new Point(12, 0x75);
            this.lblMa_Bp.Name = "lblMa_Bp";
            this.lblMa_Bp.Size = new Size(0x2f, 14);
            this.lblMa_Bp.TabIndex = 0x61;
            this.lblMa_Bp.Text = "Bộ phận";
            this.txtMa_Bp.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Bp.CheckTextSearched = false;
            this.txtMa_Bp.DisabledForeColor = Color.Empty;
            this.txtMa_Bp.EmptyIsValid = true;
            this.txtMa_Bp.FieldDisplay = "Ten_Bp";
            this.txtMa_Bp.Font = new Font("Arial", 8.25f);
            this.txtMa_Bp.Location = new Point(0x74, 0x71);
            this.txtMa_Bp.MaxLength = 0x20;
            this.txtMa_Bp.Name = "txtMa_Bp";
            this.txtMa_Bp.OldValue = null;
            this.txtMa_Bp.Size = new Size(100, 20);
            this.txtMa_Bp.TabIndex = 6;
            this.txtMa_Bp.TableName = "DMBP";
            this.txtMa_Bp.TextDisplay = this.txtTen_Bp;
            this.txtMa_Bp.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Bp.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Bp.Value = null;//manager.GetObject("txtMa_Bp.Value");
            this.txtTen_Bp.BackColor = SystemColors.Control;
            this.txtTen_Bp.BorderStyle = BorderStyle.None;
            this.txtTen_Bp.CheckTextSearched = false;
            this.txtTen_Bp.DisabledForeColor = Color.Blue;
            this.txtTen_Bp.Enabled = false;
            this.txtTen_Bp.Font = new Font("Arial", 8.25f);
            this.txtTen_Bp.ForeColor = Color.Blue;
            this.txtTen_Bp.Location = new Point(0xde, 0x75);
            this.txtTen_Bp.Name = "txtTen_Bp";
            this.txtTen_Bp.OldValue = null;
            this.txtTen_Bp.Size = new Size(0x15c, 13);
            this.txtTen_Bp.TabIndex = 0x60;
//            this.txtTen_Bp.Value = null;//manager.GetObject("txtTen_Bp.Value");
            this.lblMa_Sp.AutoSize = true;
            this.lblMa_Sp.Font = new Font("Arial", 8.25f);
            this.lblMa_Sp.Location = new Point(12, 0x8a);
            this.lblMa_Sp.Name = "lblMa_Sp";
            this.lblMa_Sp.Size = new Size(0x37, 14);
            this.lblMa_Sp.TabIndex = 0x61;
            this.lblMa_Sp.Text = "Sản phẩm";
            this.txtMa_Sp.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Sp.CheckTextSearched = false;
            this.txtMa_Sp.DisabledForeColor = Color.Empty;
            this.txtMa_Sp.EmptyIsValid = true;
            this.txtMa_Sp.FieldDisplay = "Ten_Sp";
            this.txtMa_Sp.Font = new Font("Arial", 8.25f);
            this.txtMa_Sp.Location = new Point(0x74, 0x86);
            this.txtMa_Sp.MaxLength = 0x20;
            this.txtMa_Sp.Name = "txtMa_Sp";
            this.txtMa_Sp.OldValue = null;
            this.txtMa_Sp.Size = new Size(100, 20);
            this.txtMa_Sp.TabIndex = 7;
            this.txtMa_Sp.TableName = "DMSP";
            this.txtMa_Sp.TextDisplay = this.txtTen_Sp;
            this.txtMa_Sp.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Sp.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Sp.Value = null;//manager.GetObject("txtMa_Sp.Value");
            this.txtTen_Sp.BackColor = SystemColors.Control;
            this.txtTen_Sp.BorderStyle = BorderStyle.None;
            this.txtTen_Sp.CheckTextSearched = false;
            this.txtTen_Sp.DisabledForeColor = Color.Blue;
            this.txtTen_Sp.Enabled = false;
            this.txtTen_Sp.Font = new Font("Arial", 8.25f);
            this.txtTen_Sp.ForeColor = Color.Blue;
            this.txtTen_Sp.Location = new Point(0xde, 0x8a);
            this.txtTen_Sp.Name = "txtTen_Sp";
            this.txtTen_Sp.OldValue = null;
            this.txtTen_Sp.Size = new Size(0x15c, 13);
            this.txtTen_Sp.TabIndex = 0x60;
//            this.txtTen_Sp.Value = null;//manager.GetObject("txtTen_Sp.Value");
            this.lblMa_Km.AutoSize = true;
            this.lblMa_Km.Font = new Font("Arial", 8.25f);
            this.lblMa_Km.Location = new Point(12, 0x9f);
            this.lblMa_Km.Name = "lblMa_Km";
            this.lblMa_Km.Size = new Size(0x3d, 14);
            this.lblMa_Km.TabIndex = 0x61;
            this.lblMa_Km.Text = "Khoản mục";
            this.txtMa_Km.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Km.CheckTextSearched = false;
            this.txtMa_Km.DisabledForeColor = Color.Empty;
            this.txtMa_Km.EmptyIsValid = true;
            this.txtMa_Km.FieldDisplay = "Ten_Km";
            this.txtMa_Km.Font = new Font("Arial", 8.25f);
            this.txtMa_Km.Location = new Point(0x74, 0x9b);
            this.txtMa_Km.MaxLength = 0x20;
            this.txtMa_Km.Name = "txtMa_Km";
            this.txtMa_Km.OldValue = null;
            this.txtMa_Km.Size = new Size(100, 20);
            this.txtMa_Km.TabIndex = 8;
            this.txtMa_Km.TableName = "DMKM";
            this.txtMa_Km.TextDisplay = this.txtTen_Km;
            this.txtMa_Km.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Km.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Km.Value = null;//manager.GetObject("txtMa_Km.Value");
            this.txtTen_Km.BackColor = SystemColors.Control;
            this.txtTen_Km.BorderStyle = BorderStyle.None;
            this.txtTen_Km.CheckTextSearched = false;
            this.txtTen_Km.DisabledForeColor = Color.Blue;
            this.txtTen_Km.Enabled = false;
            this.txtTen_Km.Font = new Font("Arial", 8.25f);
            this.txtTen_Km.ForeColor = Color.Blue;
            this.txtTen_Km.Location = new Point(0xde, 0x9f);
            this.txtTen_Km.Name = "txtTen_Km";
            this.txtTen_Km.OldValue = null;
            this.txtTen_Km.Size = new Size(0x15c, 13);
            this.txtTen_Km.TabIndex = 0x60;
//            this.txtTen_Km.Value = null;//manager.GetObject("txtTen_Km.Value");
            this.txtDien_Giai.CheckTextSearched = false;
            this.txtDien_Giai.DisabledForeColor = Color.Blue;
            this.txtDien_Giai.Font = new Font("Arial", 8.25f);
            this.txtDien_Giai.Location = new Point(0x74, 0xef);
            this.txtDien_Giai.MaxLength = 0xfe;
            this.txtDien_Giai.Name = "txtDien_Giai";
            this.txtDien_Giai.OldValue = null;
            this.txtDien_Giai.Size = new Size(0x1b6, 20);
            this.txtDien_Giai.TabIndex = 12;
            this.txtDien_Giai.UserTextLength = AppInstance.TextControlLength.InvoiceDescription;
//            this.txtDien_Giai.Value = null;//manager.GetObject("txtDien_Giai.Value");
            this.txtDesc_EN.CheckTextSearched = false;
            this.txtDesc_EN.DisabledForeColor = Color.Blue;
            this.txtDesc_EN.Font = new Font("Arial", 8.25f);
            this.txtDesc_EN.Location = new Point(0x74, 260);
            this.txtDesc_EN.MaxLength = 0xfe;
            this.txtDesc_EN.Name = "txtDesc_EN";
            this.txtDesc_EN.OldValue = null;
            this.txtDesc_EN.Size = new Size(0x1b6, 20);
            this.txtDesc_EN.TabIndex = 13;
            this.txtDesc_EN.UserTextLength = AppInstance.TextControlLength.InvoiceDescription;
//            this.txtDesc_EN.Value = null;//manager.GetObject("txtDesc_EN.Value");
            this.txtOng_Ba.CheckTextSearched = false;
            this.txtOng_Ba.DisabledForeColor = Color.Blue;
            this.txtOng_Ba.Font = new Font("Arial", 8.25f);
            this.txtOng_Ba.Location = new Point(0x74, 0x119);
            this.txtOng_Ba.MaxLength = 128;
            this.txtOng_Ba.Name = "txtOng_Ba";
            this.txtOng_Ba.OldValue = null;
            this.txtOng_Ba.Size = new Size(0x1b6, 20);
            this.txtOng_Ba.TabIndex = 14;
            this.txtOng_Ba.UserTextLength = AppInstance.TextControlLength.ItemDescription;
//            this.txtOng_Ba.Value = null;//manager.GetObject("txtOng_Ba.Value");
            this.lblDien_Giai.AutoSize = true;
            this.lblDien_Giai.Font = new Font("Arial", 8.25f);
            this.lblDien_Giai.Location = new Point(12, 0xf2);
            this.lblDien_Giai.Name = "lblDien_Giai";
            this.lblDien_Giai.Size = new Size(0x2f, 14);
            this.lblDien_Giai.TabIndex = 0x61;
            this.lblDien_Giai.Text = "Diễn giải";
            this.lblDesc_EN.AutoSize = true;
            this.lblDesc_EN.Font = new Font("Arial", 8.25f);
            this.lblDesc_EN.Location = new Point(12, 0x107);
            this.lblDesc_EN.Name = "lblDesc_EN";
            this.lblDesc_EN.Size = new Size(0x60, 14);
            this.lblDesc_EN.TabIndex = 0x61;
            this.lblDesc_EN.Text = "Diễn giải tiếng Anh";
            this.lblOng_Ba.AutoSize = true;
            this.lblOng_Ba.Font = new Font("Arial", 8.25f);
            this.lblOng_Ba.Location = new Point(12, 0x11c);
            this.lblOng_Ba.Name = "lblOng_Ba";
            this.lblOng_Ba.Size = new Size(0x2a, 14);
            this.lblOng_Ba.TabIndex = 0x61;
            this.lblOng_Ba.Text = "\x00d4ng b\x00e0";
            this.labelControl12.BorderStyle = BorderStyle.Fixed3D;
            this.labelControl12.Font = new Font("Arial", 8.25f);
            this.labelControl12.Location = new Point(12, 0x135);
            this.labelControl12.Name = "labelControl12";
            this.labelControl12.Size = new Size(0x21e, 2);
            this.labelControl12.TabIndex = 0x63;
            this.btnClose.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
            //this.btnClose.DialogResult = DialogResult.Cancel;
            this.btnClose.Font = new Font("Arial", 8.25f);
            this.btnClose.Location = new Point(0x1bd, 0x143);
            this.btnClose.Name = "btnClose";
            this.btnClose.Size = new Size(100, 0x17);
            this.btnClose.TabIndex = 0x10;
            this.btnClose.Text = "&Quay ra";
            this.btnClose.UseVisualStyleBackColor = true;
            this.btnClose.Click += new EventHandler(this.btnClose_Click);
            this.btnOk.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
            this.btnOk.Font = new Font("Arial", 8.25f);
            this.btnOk.Location = new Point(0x153, 0x143);
            this.btnOk.Name = "btnOk";
            this.btnOk.Size = new Size(100, 0x17);
            this.btnOk.TabIndex = 15;
            this.btnOk.Text = "&Chấp nhận";
            this.btnOk.UseVisualStyleBackColor = true;
            this.btnOk.Click += new EventHandler(this.btnOk_Click);
            this.txtMa_Ct_List.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Ct_List.CheckTextSearched = false;
            this.txtMa_Ct_List.DisabledForeColor = Color.Blue;
            this.txtMa_Ct_List.Font = new Font("Arial", 8.25f);
            this.txtMa_Ct_List.Location = new Point(0x74, 12);
            this.txtMa_Ct_List.MaxLength = 128;
            this.txtMa_Ct_List.Name = "txtMa_Ct_List";
            this.txtMa_Ct_List.OldValue = null;
            this.txtMa_Ct_List.Size = new Size(0x1ad, 20);
            this.txtMa_Ct_List.TabIndex = 0;
            this.txtMa_Ct_List.UserTextLength = AppInstance.TextControlLength.ItemDescription;
            this.txtMa_Ct_List.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Ct_List.Value = null;//manager.GetObject("txtMa_Ct_List.Value");
            this.lblMa_Ct.AutoSize = true;
            this.lblMa_Ct.Font = new Font("Arial", 8.25f);
            this.lblMa_Ct.Location = new Point(12, 15);
            this.lblMa_Ct.Name = "lblMa_Ct";
            this.lblMa_Ct.Size = new Size(0x44, 14);
            this.lblMa_Ct.TabIndex = 100;
            this.lblMa_Ct.Text = "Mã chứng từ";
            this.lblMa_Nx.AutoSize = true;
            this.lblMa_Nx.Font = new Font("Arial", 8.25f);
            this.lblMa_Nx.Location = new Point(12, 180);
            this.lblMa_Nx.Name = "lblMa_Nx";
            this.lblMa_Nx.Size = new Size(0x53, 14);
            this.lblMa_Nx.TabIndex = 0x61;
            this.lblMa_Nx.Text = "Dạng nhập xuất";
            this.txtMa_Nx.CharacterCasing = CharacterCasing.Upper;
            this.txtMa_Nx.CheckTextSearched = false;
            this.txtMa_Nx.DisabledForeColor = Color.Empty;
            this.txtMa_Nx.EmptyIsValid = true;
            this.txtMa_Nx.FieldDisplay = "Ten_Nx";
            this.txtMa_Nx.Font = new Font("Arial", 8.25f);
            this.txtMa_Nx.Location = new Point(0x74, 0xb0);
            this.txtMa_Nx.MaxLength = 0x20;
            this.txtMa_Nx.Name = "txtMa_Nx";
            this.txtMa_Nx.OldValue = null;
            this.txtMa_Nx.Size = new Size(100, 20);
            this.txtMa_Nx.TabIndex = 9;
            this.txtMa_Nx.TableName = "DMNX";
            this.txtMa_Nx.TextDisplay = this.txtTen_Nx;
            this.txtMa_Nx.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtMa_Nx.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtMa_Nx.Value = null;//manager.GetObject("txtMa_Nx.Value");
            this.txtTen_Nx.BackColor = SystemColors.Control;
            this.txtTen_Nx.BorderStyle = BorderStyle.None;
            this.txtTen_Nx.CheckTextSearched = false;
            this.txtTen_Nx.DisabledForeColor = Color.Blue;
            this.txtTen_Nx.Enabled = false;
            this.txtTen_Nx.Font = new Font("Arial", 8.25f);
            this.txtTen_Nx.ForeColor = Color.Blue;
            this.txtTen_Nx.Location = new Point(0xde, 180);
            this.txtTen_Nx.Name = "txtTen_Nx";
            this.txtTen_Nx.OldValue = null;
            this.txtTen_Nx.Size = new Size(0x15c, 13);
            this.txtTen_Nx.TabIndex = 0x60;
//            this.txtTen_Nx.Value = null;//manager.GetObject("txtTen_Nx.Value");
            this.lblTk_No.AutoSize = true;
            this.lblTk_No.Font = new Font("Arial", 8.25f);
            this.lblTk_No.Location = new Point(12, 0xc9);
            this.lblTk_No.Name = "lblTk_No";
            this.lblTk_No.Size = new Size(0x45, 14);
            this.lblTk_No.TabIndex = 0x61;
            this.lblTk_No.Text = "Tài khoản nợ";
            this.txtTk_No.CharacterCasing = CharacterCasing.Upper;
            this.txtTk_No.CheckTextSearched = false;
            this.txtTk_No.DisabledForeColor = Color.Empty;
            this.txtTk_No.EmptyIsValid = true;
            this.txtTk_No.FieldDisplay = "Ten_Tk";
            this.txtTk_No.Font = new Font("Arial", 8.25f);
            this.txtTk_No.Location = new Point(0x74, 0xc5);
            this.txtTk_No.MaxLength = 0x20;
            this.txtTk_No.Name = "txtTk_No";
            this.txtTk_No.OldValue = null;
            this.txtTk_No.Size = new Size(100, 20);
            this.txtTk_No.TabIndex = 10;
            this.txtTk_No.TableName = "DMTK";
            this.txtTk_No.TextDisplay = this.txtTen_Tk_No;
            this.txtTk_No.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtTk_No.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtTk_No.Value = null;//manager.GetObject("txtTk_No.Value");
            this.txtTen_Tk_No.BackColor = SystemColors.Control;
            this.txtTen_Tk_No.BorderStyle = BorderStyle.None;
            this.txtTen_Tk_No.CheckTextSearched = false;
            this.txtTen_Tk_No.DisabledForeColor = Color.Blue;
            this.txtTen_Tk_No.Enabled = false;
            this.txtTen_Tk_No.Font = new Font("Arial", 8.25f);
            this.txtTen_Tk_No.ForeColor = Color.Blue;
            this.txtTen_Tk_No.Location = new Point(0xde, 0xc9);
            this.txtTen_Tk_No.Name = "txtTen_Tk_No";
            this.txtTen_Tk_No.OldValue = null;
            this.txtTen_Tk_No.Size = new Size(0x15c, 13);
            this.txtTen_Tk_No.TabIndex = 0x60;
//            this.txtTen_Tk_No.Value = null;//manager.GetObject("txtTen_Tk_No.Value");
            this.lblTk_Co.AutoSize = true;
            this.lblTk_Co.Font = new Font("Arial", 8.25f);
            this.lblTk_Co.Location = new Point(12, 0xde);
            this.lblTk_Co.Name = "lblTk_Co";
            this.lblTk_Co.Size = new Size(0x44, 14);
            this.lblTk_Co.TabIndex = 0x61;
            this.lblTk_Co.Text = "Tài khoản có";
            this.txtTk_Co.CharacterCasing = CharacterCasing.Upper;
            this.txtTk_Co.CheckTextSearched = false;
            this.txtTk_Co.DisabledForeColor = Color.Empty;
            this.txtTk_Co.EmptyIsValid = true;
            this.txtTk_Co.FieldDisplay = "Ten_Tk";
            this.txtTk_Co.Font = new Font("Arial", 8.25f);
            this.txtTk_Co.Location = new Point(0x74, 0xda);
            this.txtTk_Co.MaxLength = 0x20;
            this.txtTk_Co.Name = "txtTk_Co";
            this.txtTk_Co.OldValue = null;
            this.txtTk_Co.Size = new Size(100, 20);
            this.txtTk_Co.TabIndex = 11;
            this.txtTk_Co.TableName = "DMTK";
            this.txtTk_Co.TextDisplay = this.txtTen_Tk_Co;
            this.txtTk_Co.UserTextLength = AppInstance.TextControlLength.ItemCode;
            this.txtTk_Co.UserTrimMode = AppInstance.TextControlTrimMode.All;
//            this.txtTk_Co.Value = null;//manager.GetObject("txtTk_Co.Value");
            this.txtTen_Tk_Co.BackColor = SystemColors.Control;
            this.txtTen_Tk_Co.BorderStyle = BorderStyle.None;
            this.txtTen_Tk_Co.CheckTextSearched = false;
            this.txtTen_Tk_Co.DisabledForeColor = Color.Blue;
            this.txtTen_Tk_Co.Enabled = false;
            this.txtTen_Tk_Co.Font = new Font("Arial", 8.25f);
            this.txtTen_Tk_Co.ForeColor = Color.Blue;
            this.txtTen_Tk_Co.Location = new Point(0xde, 0xde);
            this.txtTen_Tk_Co.Name = "txtTen_Tk_Co";
            this.txtTen_Tk_Co.OldValue = null;
            this.txtTen_Tk_Co.Size = new Size(0x15c, 13);
            this.txtTen_Tk_Co.TabIndex = 0x60;
//            this.txtTen_Tk_Co.Value = null;//manager.GetObject("txtTen_Tk_Co.Value");
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.CancelButton = this.btnClose;
            base.ClientSize = new Size(0x236, 0x166);
            base.Controls.Add(this.txtMa_Ct_List);
            base.Controls.Add(this.lblMa_Ct);
            base.Controls.Add(this.btnClose);
            base.Controls.Add(this.btnOk);
            base.Controls.Add(this.labelControl12);
            base.Controls.Add(this.txtOng_Ba);
            base.Controls.Add(this.txtDesc_EN);
            base.Controls.Add(this.txtDien_Giai);
            base.Controls.Add(this.txtTen_Tk_Co);
            base.Controls.Add(this.txtTen_Km);
            base.Controls.Add(this.txtTen_Tk_No);
            base.Controls.Add(this.txtTen_Sp);
            base.Controls.Add(this.txtTen_Nx);
            base.Controls.Add(this.txtTen_Bp);
            base.Controls.Add(this.txtTen_Hd);
            base.Controls.Add(this.txtTk_Co);
            base.Controls.Add(this.txtMa_Km);
            base.Controls.Add(this.lblOng_Ba);
            base.Controls.Add(this.lblDesc_EN);
            base.Controls.Add(this.lblTk_Co);
            base.Controls.Add(this.lblDien_Giai);
            base.Controls.Add(this.txtTk_No);
            base.Controls.Add(this.lblMa_Km);
            base.Controls.Add(this.lblTk_No);
            base.Controls.Add(this.txtMa_Sp);
            base.Controls.Add(this.txtMa_Nx);
            base.Controls.Add(this.lblMa_Sp);
            base.Controls.Add(this.lblMa_Nx);
            base.Controls.Add(this.txtMa_Bp);
            base.Controls.Add(this.lblMa_Bp);
            base.Controls.Add(this.txtMa_Hd);
            base.Controls.Add(this.lblMa_Hd);
            base.Controls.Add(this.txtTTien_Nt2);
            base.Controls.Add(this.txtTTien_Nt1);
            base.Controls.Add(this.txtSo_Ct2);
            base.Controls.Add(this.lblTTien_Nt2);
            base.Controls.Add(this.lblSo_Ct2);
            base.Controls.Add(this.labelControl5);
            base.Controls.Add(this.lblTTien_Nt1);
            base.Controls.Add(this.txtSo_Ct1);
            base.Controls.Add(this.lblSo_Ct1);
            //base.FormBorderStyle = FormBorderStyle.FixedDialog;
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "FormVCT00NExpress";
            this.Text = "Điều kiện lọc";
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        {
            if (keyData == (Keys.Control | Keys.Return))
            {
                this.UpdateExpresses();
                base.Close();
            }
            return base.ProcessCmdKey(ref msg, keyData);
        }

        private void UpdateExpresses()
        {
            this.Ma_Ct_List = this.txtMa_Ct_List.Value;
            this.So_Ct1 = this.txtSo_Ct1.Value;
            this.So_Ct2 = this.txtSo_Ct2.Value;
            this.TTien_Nt1 = this.txtTTien_Nt1.Value;
            this.TTien_Nt2 = this.txtTTien_Nt2.Value;
            this.Ma_Bp = this.txtMa_Bp.Value;
            this.Ten_Bp = this.txtTen_Bp.Value;
            this.Ma_Hd = this.txtMa_Hd.Value;
            this.Ten_Hd = this.txtTen_Hd.Value;
            this.Ma_Sp = this.txtMa_Sp.Value;
            this.Ten_Sp = this.txtTen_Sp.Value;
            this.Ma_Km = this.txtMa_Km.Value;
            this.Ten_Km = this.txtTen_Km.Value;
            this.Ma_Nx = this.txtMa_Nx.Value;
            this.Ten_Nx = this.txtTen_Nx.Value;
            this.Tk_No = this.txtTk_No.Value;
            this.Ten_Tk_No = this.txtTen_Tk_No.Value;
            this.Tk_Co = this.txtTk_Co.Value;
            this.Ten_Tk_Co = this.txtTen_Tk_Co.Value;
            this.Dien_Giai = this.txtDien_Giai.Value;
            this.Desc_EN = this.txtDesc_EN.Value;
            this.Ong_Ba = this.txtOng_Ba.Value;
        }

        public object Desc_EN
        {
            get
            {
                return this.is_Desc_EN;
            }
            set
            {
                this.is_Desc_EN = value;
                this.txtDesc_EN.Value = value;
            }
        }

        public object Dien_Giai
        {
            get
            {
                return this.is_Dien_Giai;
            }
            set
            {
                this.is_Dien_Giai = value;
                this.txtDien_Giai.Value = value;
            }
        }

        public object Ma_Bp
        {
            get
            {
                return this.is_Ma_Bp;
            }
            set
            {
                this.is_Ma_Bp = value;
                this.txtMa_Bp.Value = value;
            }
        }

        public object Ma_Ct_List
        {
            get
            {
                return this.is_Ma_Ct_List;
            }
            set
            {
                this.is_Ma_Ct_List = value;
                this.txtMa_Ct_List.Value = value;
            }
        }

        public object Ma_Hd
        {
            get
            {
                return this.is_Ma_Hd;
            }
            set
            {
                this.is_Ma_Hd = value;
                this.txtMa_Hd.Value = value;
            }
        }

        public object Ma_Km
        {
            get
            {
                return this.is_Ma_Km;
            }
            set
            {
                this.is_Ma_Km = value;
                this.txtMa_Km.Value = value;
            }
        }

        public object Ma_Nx
        {
            get
            {
                return this.is_Ma_Nx;
            }
            set
            {
                this.is_Ma_Nx = value;
                this.txtMa_Nx.Value = value;
            }
        }

        public object Ma_Sp
        {
            get
            {
                return this.is_Ma_Sp;
            }
            set
            {
                this.is_Ma_Sp = value;
                this.txtMa_Sp.Value = value;
            }
        }

        public object Ong_Ba
        {
            get
            {
                return this.is_Ong_Ba;
            }
            set
            {
                this.is_Ong_Ba = value;
                this.txtOng_Ba.Value = value;
            }
        }

        public object So_Ct1
        {
            get
            {
                return this.is_So_Ct1;
            }
            set
            {
                this.is_So_Ct1 = value;
                this.txtSo_Ct1.Value = value;
            }
        }

        public object So_Ct2
        {
            get
            {
                return this.is_So_Ct2;
            }
            set
            {
                this.is_So_Ct2 = value;
                this.txtSo_Ct2.Value = value;
            }
        }

        public object Ten_Bp
        {
            get
            {
                return this.is_Ten_Bp;
            }
            set
            {
                this.is_Ten_Bp = value;
                this.txtTen_Bp.Value = value;
            }
        }

        public object Ten_Hd
        {
            get
            {
                return this.is_Ten_Hd;
            }
            set
            {
                this.is_Ten_Hd = value;
                this.txtTen_Hd.Value = value;
            }
        }

        public object Ten_Km
        {
            get
            {
                return this.is_Ten_Km;
            }
            set
            {
                this.is_Ten_Km = value;
                this.txtTen_Km.Value = value;
            }
        }

        public object Ten_Nx
        {
            get
            {
                return this.is_Ten_Nx;
            }
            set
            {
                this.is_Ten_Nx = value;
                this.txtTen_Nx.Value = value;
            }
        }

        public object Ten_Sp
        {
            get
            {
                return this.is_Ten_Sp;
            }
            set
            {
                this.is_Ten_Sp = value;
                this.txtTen_Sp.Value = value;
            }
        }

        public object Ten_Tk_Co
        {
            get
            {
                return this.is_Ten_Tk_Co;
            }
            set
            {
                this.is_Ten_Tk_Co = value;
                this.txtTen_Tk_Co.Value = value;
            }
        }

        public object Ten_Tk_No
        {
            get
            {
                return this.is_Ten_Tk_No;
            }
            set
            {
                this.is_Ten_Tk_No = value;
                this.txtTen_Tk_No.Value = value;
            }
        }

        public object Tk_Co
        {
            get
            {
                return this.is_Tk_Co;
            }
            set
            {
                this.is_Tk_Co = value;
                this.txtTk_Co.Value = value;
            }
        }

        public object Tk_No
        {
            get
            {
                return this.is_Tk_No;
            }
            set
            {
                this.is_Tk_No = value;
                this.txtTk_No.Value = value;
            }
        }

        public object TTien_Nt1
        {
            get
            {
                return this.ii_TTien_Nt1;
            }
            set
            {
                this.ii_TTien_Nt1 = value;
                this.txtTTien_Nt1.Value = value;
            }
        }

        public object TTien_Nt2
        {
            get
            {
                return this.ii_TTien_Nt2;
            }
            set
            {
                this.ii_TTien_Nt2 = value;
                this.txtTTien_Nt2.Value = value;
            }
        }
    }
}

